package org.example;

import javax.annotation.Resource;
import java.util.Date;

public class Dog {
    public String name;
    @Tt
    private Integer age;
    private Date dob;

    public void hi() {
        System.out.println("hi world");
    }

    public void hi(String name) {
        System.out.println("hi  " + name);
    }

    public String say() {
        return "saay";
    }

    public Dog(String name, Integer age, Date dob) {
        this.name = name;
        this.age = age;
        this.dob = dob;
    }

    public Dog() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getDob() {
        return dob;
    }

    public void setDob(Date dob) {
        this.dob = dob;
    }
}